package com.kim.seata.caller.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Project: kim-distributed-transaction
 * @PackageName: com.kim.seata.caller.server
 * @FileName: SeataOrderCallerApplication.java
 * @Description: The SeataOrderCallerApplication is...
 * @Author: kimwu
 * @Time: 2020-12-30 09:15:01
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.kim.seata.caller.server.service.feign"})
@EnableDiscoveryClient
@MapperScan("com.kim.seata.caller.server.mapper")
public class SeataOrderCallerApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeataOrderCallerApplication.class, args);
    }

}
